const {http} = require('./request');
// 登录
const login = function (config) {
  return http({...config, url: 'user/users/wx'});
}
// 首页-课程-计划
const getTrainingPlans = function (config) {
  return http({...config, url: 'sport/training-plans'});
}

module.exports = {
  login,
  getTrainingPlans,
}